
package helloworld;

import java.util.Random;

/** A simple random number generator to return a value between 0-100.
 * Static method so an instance of the class doesn't have to be instantiated for 
 * randomNumber() to be called
 *
 * @author Carl Morphet - k0016570
 * Date: 06/12/11
 */
public class RandomNumberGen 
{
    public static int randomNumber()
    {
        Random numGen = new Random();
        int randomNum = numGen.nextInt(100);
        
        return randomNum;
    }
}
